<%@ page language="java" pageEncoding="utf-8"%>
<%@ page isELIgnored="false" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
  <head>
    
    <title>myActivity.jsp</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  我的所有活动页面<br/>
  	<c:forEach items="${requestScope.list}" var="data">
    <p>
    标题:<a href="getActivity.do?activityId=${data.activityId}"><c:out value="${data.title}"/></a><br/>
    组织者:<a href="user.do?uid=${data.postUid}"><c:out value="${data.nickName}"/></a><br/>
    活动类型:${data.bigType}===${data.smallType}<br/>
    活动时间:<fmt:formatDate value="${data.startTime}" pattern="yyyy-MM-dd HH:mm"/>到<fmt:formatDate value="${data.endTime}" pattern="yyyy-MM-dd HH:mm"/>
    活动地点:<c:out value="${data.address}"></c:out><br/>
    <a href="activity.do?method=update&activityId=${data.activityId}">修改</a>
    <a href="activity.do?method=delete&activityId=${data.activityId}">删除</a>
    </p>
    </c:forEach>
    
    
    <c:out value="${requestScope.url}" escapeXml="false"></c:out>
  </body>
</html:html>
